package com.hzw.saas.service.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzw.saas.api.user.bo.StaffBO;
import com.hzw.saas.api.user.bo.StaffRoleBo;
import com.hzw.saas.service.user.model.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/4/23 14:05
 */
@Mapper
public interface StaffMapper extends BaseMapper<Staff> {

    /**
     * Like search by page.
     *
     * @param iPage    the page
     * @param sellerBo the seller bo
     * @return the page
     */
    Page<StaffRoleBo> likeSearchByPage(Page<StaffRoleBo> iPage, @Param("param") StaffBO sellerBo);
}
